package com.itcast.mallapplet.service;

import com.itcast.applet.dto.AddressDTO;
import com.itcast.applet.entity.Address;

import java.util.List;

public interface AddressService {
    //新增地址
    void addAddress(Address address);

    //查询单个地址
    Address queryAddress(Long id);

    //查询全部用户地址
    List<Address> queryAllAddress();

    //修改地址
    void amendAddress(Address address);

    //批量删除地址
    void deleteAddressAll(List<Long> ids);
}
